package tianwang.utils.dict;

import java.util.HashMap;
import java.util.Map;
/**
 * 考研词汇
 */
public class PostgraduateDict extends DictionaryImplBase {
	/*
	 *？？？暂且屏蔽考研词汇 
	 */
	public boolean contains(String entry) {
		return false;
	}
	
	public PostgraduateDict() {

		// 设置词典大小
		// 共有33个词条，4/3倍 是44 ,2^5=32 2^6= 64
		this.setDictionarySize(64);

		this.setCorpusPath("postgraduate.txt");

		// 设置词条模板
		Map<String, Integer> entryTemplate = new HashMap<String, Integer>();
		entryTemplate.put(Entry.CORE_WORD, 0);

		this.setEntryTemplate(entryTemplate);

		this.setEntryProcesser(new RegularEntryProcesserImpl());
	}
}
